package com.huilian.cloud.module.system.controller;

import com.huilian.cloud.framework.common.pojo.CommonResult;
import com.huilian.cloud.framework.common.pojo.PageResult;
import io.swagger.v3.oas.annotations.Operation;
import lombok.extern.slf4j.Slf4j;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.*;


@RestController
@RequestMapping("/test")
@Validated
@Slf4j
public class TestController {




    @GetMapping("/test")
    public CommonResult<Boolean> getUserPage(@RequestParam(name = "name")String name) {
        log.info("name::::::::::{}",name);
        return CommonResult.success(true);
    }


}
